# -*- coding:utf-8 -*-
"""
@author: Jioccer
@time: 2023/9/9 16:03 
@file: pngtobin.py
@project: 一键关闭Windows更新
@describe: TODO
"""

with open("UI/2.png", "rb") as image_file:
    image_data = image_file.read()

# 将图像数据保存到Python脚本中
with open("image_data.py", "w") as image_data_file:
    image_data_file.write("image_data = " + repr(image_data))
